package com.example.MastAndSlave.controller.thymeleaf;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/thymeleaf")
public class ControllerTestThymeleaf {

    @GetMapping("/test01")
    public ModelAndView testThymeleaf(){
        ModelAndView mv = new ModelAndView();
        mv.setViewName("/thymeleaf/hellow");
        return mv;
    }
}
